<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>BabyOS: HAL_Exported_Functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="baby_boy_93.528712871287px_1234786_easyicon.net.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">BabyOS
   &#160;<span id="projectnumber">V0.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">HAL_Exported_Functions<div class="ingroups"><a class="el" href="group___b___h_a_l.html">B_HAL</a> &raquo; <a class="el" href="group___h_a_l.html">HAL</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaf709c07e26adbffa5d9984b2cec63c69"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___h_a_l___exported___functions.html#gaf709c07e26adbffa5d9984b2cec63c69">fputc</a> (int c, FILE *p)</td></tr>
<tr class="separator:gaf709c07e26adbffa5d9984b2cec63c69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac4b3d313f1c9c001234743725e491b9a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___h_a_l___exported___functions.html#gac4b3d313f1c9c001234743725e491b9a">bHalEnterCritical</a> ()</td></tr>
<tr class="separator:gac4b3d313f1c9c001234743725e491b9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9b005cf96b043e836780e1cc1b9254fc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___h_a_l___exported___functions.html#ga9b005cf96b043e836780e1cc1b9254fc">bHalExitCritical</a> ()</td></tr>
<tr class="memdesc:ga9b005cf96b043e836780e1cc1b9254fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt;&lt; delay  <a href="#ga9b005cf96b043e836780e1cc1b9254fc">More...</a><br /></td></tr>
<tr class="separator:ga9b005cf96b043e836780e1cc1b9254fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga12c2eefdfcc84de397bba9c9f95882a5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___h_a_l___exported___functions.html#ga12c2eefdfcc84de397bba9c9f95882a5">bHalDelayMS</a> (uint16_t xms)</td></tr>
<tr class="separator:ga12c2eefdfcc84de397bba9c9f95882a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga252916ffe00f5745ac44905b50a3f412"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___h_a_l___exported___functions.html#ga252916ffe00f5745ac44905b50a3f412">bHalDelayUS</a> (uint16_t xus)</td></tr>
<tr class="separator:ga252916ffe00f5745ac44905b50a3f412"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac8e750b2b439b1cc756a4076503738e4"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___h_a_l___exported___functions.html#gac8e750b2b439b1cc756a4076503738e4">bHalGetTick</a> ()</td></tr>
<tr class="separator:gac8e750b2b439b1cc756a4076503738e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6bb2b0cf5092883eb8c51f9b8d4a5c78"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___h_a_l___exported___functions.html#ga6bb2b0cf5092883eb8c51f9b8d4a5c78">bHalChipProtect</a> ()</td></tr>
<tr class="separator:ga6bb2b0cf5092883eb8c51f9b8d4a5c78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6f935a31e0b1cdb5905b565a5d3bb72f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___h_a_l___exported___functions.html#ga6f935a31e0b1cdb5905b565a5d3bb72f">bHalFeedWTD</a> ()</td></tr>
<tr class="separator:ga6f935a31e0b1cdb5905b565a5d3bb72f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab4fede695cd2bf0ead21a2cc4ac02aaa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___h_a_l___exported___functions.html#gab4fede695cd2bf0ead21a2cc4ac02aaa">bHalGetSTM32MCUID</a> (uint32_t id[3])</td></tr>
<tr class="separator:gab4fede695cd2bf0ead21a2cc4ac02aaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga19179b3668da8153a34f5c57a43cef0b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___h_a_l___exported___functions.html#ga19179b3668da8153a34f5c57a43cef0b">bHalFlashWrite</a> (uint32_t address, uint8_t *pbuf, uint16_t len)</td></tr>
<tr class="separator:ga19179b3668da8153a34f5c57a43cef0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9bbf639675e6f6028a969874d60acac3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___h_a_l___exported___functions.html#ga9bbf639675e6f6028a969874d60acac3">bHalErasePage</a> (uint32_t addr)</td></tr>
<tr class="separator:ga9bbf639675e6f6028a969874d60acac3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga6bb2b0cf5092883eb8c51f9b8d4a5c78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6bb2b0cf5092883eb8c51f9b8d4a5c78">&#9670;&nbsp;</a></span>bHalChipProtect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void bHalChipProtect </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="b__hal_8c_source.html#l00145">145</a> of file <a class="el" href="b__hal_8c_source.html">b_hal.c</a>.</p>

</div>
</div>
<a id="ga12c2eefdfcc84de397bba9c9f95882a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga12c2eefdfcc84de397bba9c9f95882a5">&#9670;&nbsp;</a></span>bHalDelayMS()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void bHalDelayMS </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>xms</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="b__hal_8c_source.html#l00127">127</a> of file <a class="el" href="b__hal_8c_source.html">b_hal.c</a>.</p>

</div>
</div>
<a id="ga252916ffe00f5745ac44905b50a3f412"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga252916ffe00f5745ac44905b50a3f412">&#9670;&nbsp;</a></span>bHalDelayUS()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void bHalDelayUS </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>xus</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="b__hal_8c_source.html#l00132">132</a> of file <a class="el" href="b__hal_8c_source.html">b_hal.c</a>.</p>

</div>
</div>
<a id="gac4b3d313f1c9c001234743725e491b9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac4b3d313f1c9c001234743725e491b9a">&#9670;&nbsp;</a></span>bHalEnterCritical()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void bHalEnterCritical </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="b__hal_8c_source.html#l00115">115</a> of file <a class="el" href="b__hal_8c_source.html">b_hal.c</a>.</p>

</div>
</div>
<a id="ga9bbf639675e6f6028a969874d60acac3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9bbf639675e6f6028a969874d60acac3">&#9670;&nbsp;</a></span>bHalErasePage()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int bHalErasePage </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>addr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="b__hal_8c_source.html#l00197">197</a> of file <a class="el" href="b__hal_8c_source.html">b_hal.c</a>.</p>

</div>
</div>
<a id="ga9b005cf96b043e836780e1cc1b9254fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9b005cf96b043e836780e1cc1b9254fc">&#9670;&nbsp;</a></span>bHalExitCritical()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void bHalExitCritical </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>&lt;&lt; delay </p>

<p class="definition">Definition at line <a class="el" href="b__hal_8c_source.html#l00120">120</a> of file <a class="el" href="b__hal_8c_source.html">b_hal.c</a>.</p>

</div>
</div>
<a id="ga6f935a31e0b1cdb5905b565a5d3bb72f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6f935a31e0b1cdb5905b565a5d3bb72f">&#9670;&nbsp;</a></span>bHalFeedWTD()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void bHalFeedWTD </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="b__hal_8c_source.html#l00164">164</a> of file <a class="el" href="b__hal_8c_source.html">b_hal.c</a>.</p>

</div>
</div>
<a id="ga19179b3668da8153a34f5c57a43cef0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga19179b3668da8153a34f5c57a43cef0b">&#9670;&nbsp;</a></span>bHalFlashWrite()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int bHalFlashWrite </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>address</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>pbuf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>len</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="b__hal_8c_source.html#l00179">179</a> of file <a class="el" href="b__hal_8c_source.html">b_hal.c</a>.</p>

<p class="reference">References <a class="el" href="b__config_8h_source.html#l00042">NULL</a>.</p>

</div>
</div>
<a id="gab4fede695cd2bf0ead21a2cc4ac02aaa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab4fede695cd2bf0ead21a2cc4ac02aaa">&#9670;&nbsp;</a></span>bHalGetSTM32MCUID()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void bHalGetSTM32MCUID </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>id</em>[3]</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="b__hal_8c_source.html#l00170">170</a> of file <a class="el" href="b__hal_8c_source.html">b_hal.c</a>.</p>

<p class="reference">References <a class="el" href="b__hal_8c_source.html#l00078">STM32F1_UID_ADDR</a>.</p>

</div>
</div>
<a id="gac8e750b2b439b1cc756a4076503738e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac8e750b2b439b1cc756a4076503738e4">&#9670;&nbsp;</a></span>bHalGetTick()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t bHalGetTick </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="b__hal_8c_source.html#l00140">140</a> of file <a class="el" href="b__hal_8c_source.html">b_hal.c</a>.</p>

</div>
</div>
<a id="gaf709c07e26adbffa5d9984b2cec63c69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf709c07e26adbffa5d9984b2cec63c69">&#9670;&nbsp;</a></span>fputc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int fputc </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>p</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="b__hal_8c_source.html#l00107">107</a> of file <a class="el" href="b__hal_8c_source.html">b_hal.c</a>.</p>

<p class="reference">References <a class="el" href="b__hal_8c_source.html#l00077">DEBUG_UART_HANDL</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
